package battle 
{
	import Common.GameDefine;
	
	/**
	 * ...
	 * @author ...
	 */
	public class BattleCommand 
	{
		public static const ATTACK:int = 0;
		public static const DEFENCE:int = 1;
		public static const MAGIC:int = 2;
		public static const STAY:int = 3;
		public static const ESCAPE:int = 4;
		
		public static const UNDER:int = 0;
		public static const UP:int = 1;
		
		public var type:int = GameDefine.INVALIDID;
		public var targetType:int = GameDefine.INVALIDID;
		public var target:int = GameDefine.INVALIDID;
		
		public var petType:int = GameDefine.INVALIDID;
		public var petTargetType:int = GameDefine.INVALIDID;
		public var petTarget:int = GameDefine.INVALIDID;
		
		public function BattleCommand() 
		{
			
		}
		
		public function clear():void
		{
			type = GameDefine.INVALIDID;
			targetType = GameDefine.INVALIDID;
			target = GameDefine.INVALIDID;
			
			petType = GameDefine.INVALIDID;
			petTargetType = GameDefine.INVALIDID;
			petTarget = GameDefine.INVALIDID;
		}
		
		public function release():void
		{
			
		}
		
	}

}